import { FriendsO, HomeO, Search, SettingO } from "@react-vant/icons";
import { Anyaction } from "../untils/index";
export const setIcon = (str: Anyaction) => {
  switch (str) {
    case "FriendsO":
      return <FriendsO />;
    case "HomeO":
      return <HomeO />;

    case "Search":
      return <Search />;

    case "SettingO":
      return <SettingO />;

    default:
        return <FriendsO />;
  }
};
